const connector = require('../connector/index.js');

function debug(...arg) {
    let [option, start='#', end='#'] = arg;
    if (typeof option == "string") {
        option = {
          topo: option,
          start,
          end,
        };
    }
    return connector.console(option);
}

module.exports = debug
